import type { App } from 'vue';
import { scrollFix } from './src/scroll-fix';
import ClickOutside from './src/click-out-side';

export const registerGlobalDirective = (app: App) => {
  app.directive('scrollFix', scrollFix);
};

export const registerGlobalDirectiveForWeb = (app: App) => {
  app.directive('ClickOutside', ClickOutside);
};
